package com.zhai.boot.domain.in;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author Created by 翟凤玺
 * @package com.zhai.boot.domain.in
 * @project-name zhai-boot
 * @description 交易删除 入参
 * @create-datetime 2020-5-8 17:38
 */
@Data
public class DealDelIn {

    @NotBlank(message = "流水号不能为空")
    @Size(min = 1, max = 20, message = "流水号长度在1-20位")
    @ApiModelProperty(value = "流水号", example ="123", required = true)
    private String serialNum;

}